package edu.stu.cs.software.family.favoriteshop.service;
import java.util.List;
import edu.stu.cs.software.family.base.service.GenericManager;
import edu.stu.cs.software.family.favoriteshop.domain.Favorite;
/**
 * 
 * @author Administrator
 *
 */
public interface FavoriteManager extends GenericManager<Favorite, Long> {

	/**
	 * Find the name of the business
	 * @param name
	 * @return favorite's name
	 */
	List<Favorite> findByName(String favoriteName);
	/**
	 * 
	 * @param addr
	 * @return favorite's addr
	 */
	List<Favorite> findByAddr(String addr);
}